package com.sywb.chuangyebao.bean;

import org.bining.footstone.adapter.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * 首页频道
 */
public class Channel extends MultiItemEntity implements Serializable {

    public static final int TYPE_MY_TITLE = 1;
    public static final int TYPE_MY_CHANNEL = 3;
    public static final int TYPE_FIXED_CHANNEL = 2;
    public static final int TYPE_OTHER_TITLE = 4;
    public static final int TYPE_OTHER_CHANNEL = 5;

    public String Title;
    public int TitleCode;

    public Channel() {
    }

    public Channel(String title, int channelCode) {
        this(TYPE_MY_CHANNEL, title, channelCode);
    }

    public Channel(int type, String title, int channelCode) {
        this.Title = title;
        this.TitleCode = channelCode;
        itemType = type;
    }
}